package info
{
	import flash.display.Sprite;
	import flash.geom.Point;
	import flash.text.TextField;

	/**
	 * @author robt
	 */
	public class Info extends Sprite
	{
		[Embed(source="../assets/assets.swf", symbol="Info")]
		protected var AssetClass : Class;
		private var _asset : Sprite;

		public function Info()
		{
			_asset = new AssetClass();
			_asset.mouseEnabled = false;
			_asset.mouseChildren = false;

			addChild(_asset);
		}

		public function setPointerPosition(position : Point) : void
		{
			TextField(_asset["pointerPosition"]).text = position.x + ":" + position.y;
		}
	}
}
